﻿<Window x:Class="CapstoneProjectAEReader.GUIs.LibraryGUI.GroupList"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="GroupList" Height="300" Width="300" Loaded="Window_Loaded_1">
    <Window.Resources>
        <DataTemplate x:Key="GroupItemTemplate">
            <CheckBox x:Name="myCheckBox" Content="{Binding Groupname}" FontFamily="Georgia" FontSize="12">
            </CheckBox>
        </DataTemplate>
    </Window.Resources>
    <Grid>
        <DockPanel Grid.Row="0">
            <Border BorderBrush="SkyBlue" BorderThickness="0,0,0,2" DockPanel.Dock="Top" Margin="4">
                <Label x:Name="lbGroup" FontWeight="SemiBold"/>
            </Border>

            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="4" DockPanel.Dock="Bottom">
                <Button x:Name="btDone" Background="Transparent" BorderThickness="0" Margin="4" Click="HandleBtDone" >
                    <Grid>
                        <Image Source="Image/Button.png" Height="24"/>
                        <Label x:Name="lbDone" HorizontalAlignment="Center"/>
                    </Grid>
                </Button>
                <Button x:Name="btCancel" Background="Transparent" BorderThickness="0" Margin="4" Click="HandleBtCancel">
                    <Grid>
                        <Image Source="Image/Button.png" Height="24"/>
                        <Label x:Name="lbCancel" HorizontalAlignment="Center"/>
                    </Grid>
                </Button>
            </StackPanel>

            <ListBox x:Name="GroupListBox" Margin="4" Background="Transparent" BorderThickness="0" DockPanel.Dock="Top" ItemTemplate="{StaticResource GroupItemTemplate}">
            </ListBox>
        </DockPanel>
    </Grid>
</Window>
